<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册登录页面</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <link rel="stylesheet" href="/layui/css/index.css">
</head>
<body>
<div class="main">
    <fieldset class="layui-elem-field layui-field-title">
        <legend>注册登录</legend>
    </fieldset>
    <form class="layui-form" action="/login" method="get">
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="testerName" lay-verify="testerName" autocomplete="off" placeholder="请输入姓名" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" name="testerPhone" lay-verify="testerPhone" autocomplete="off" placeholder="请输入手机号" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <p class="tip">若未注册，直接登录后将自动注册</p>
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="submit">登录</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<script th:inline="javascript" src="/layui/index.js"></script>
</body>
</html>